#class Foo
#    def initialize()
#        @a = 10
#    end
#
#    attr_reader :a
#end

obj = nil

(0 .. 1000000).each do |i|
    obj = {'a' => i}
    #obj = Foo.new
end

printf("a=%d\n", obj['a'])
#printf("a=%d\n", obj.a)
